//
//  CrossTroopForm.hpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/9.
//
//

#ifndef CrossTroopForm_hpp
#define CrossTroopForm_hpp

#include "cocos2d.h"
#include "LineTroopForm.hpp"
USING_NS_CC;

class CrossTroopForm : public LineTroopForm
{
public:
    CrossTroopForm() : LineTroopForm(2, 5, 7){}
    
    virtual void group();
    virtual void train();
    virtual std::vector<TroopStyleType> allowedTroopStyles();
    virtual std::vector<TroopActionStyle> allowedTroopActionStyle();
protected:
    Vector<Node *> getHorizontalSubGroup();
    Vector<Node *> getVerticalSubGroup();
    float marginRight();
};

#endif /* CrossTroopForm_hpp */
